package cn.com.zhangjiayuan;

import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;


/**
 * @goal sample
 */
public class SampleMojo extends AbstractMojo {
	
	public void execute() throws MojoExecutionException, MojoFailureException {
		try {			
			System.out.println("SampleMojo execute !");
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	
	public static void main(String[] args){
		System.out.println("sample-maven-plugin !");
	}
}
